package com.csdn.eval.spring.mqtt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "eval.spring.mqtt")
@Data
public class EvalSpringMqttProperties {

    private String host;

    private int port;

    private String username;

    private String password;

    private String clientId;

    private String topic = "#";

    private int qos;

    private boolean cleanSession = true;

    private boolean ssl = false;

    private int connectionTimeout = 10;

    private int keepAliveInterval = 60;

}
